.class Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$6;
.super Ljava/lang/Thread;
.source "FootprintDetailEditActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->saveFootprint()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 821
    iput-object p1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$6;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    .line 823
    const-wide/16 v1, 0xa

    :try_start_0
    invoke-static {v1, v2}, Ljava/lang/Thread;->sleep(J)V

    .line 824
    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$6;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->mCacheLat:I
    invoke-static {v1}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$1300(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)I

    move-result v1

    iget-object v2, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$6;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->mFootprint:Lcom/htc/android/footprints/vo/Footprint;
    invoke-static {v2}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$100(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Lcom/htc/android/footprints/vo/Footprint;

    move-result-object v2

    iget v2, v2, Lcom/htc/android/footprints/vo/Footprint;->mLatitude:I

    if-ne v1, v2, :cond_0

    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$6;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->mCacheLog:I
    invoke-static {v1}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$1400(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)I

    move-result v1

    iget-object v2, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$6;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->mFootprint:Lcom/htc/android/footprints/vo/Footprint;
    invoke-static {v2}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$100(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Lcom/htc/android/footprints/vo/Footprint;

    move-result-object v2

    iget v2, v2, Lcom/htc/android/footprints/vo/Footprint;->mLongitude:I

    if-ne v1, v2, :cond_0

    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$6;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->mCachePhotoName:Ljava/lang/String;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$1500(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$6;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->mFootprint:Lcom/htc/android/footprints/vo/Footprint;
    invoke-static {v2}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$100(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Lcom/htc/android/footprints/vo/Footprint;

    move-result-object v2

    iget-object v2, v2, Lcom/htc/android/footprints/vo/Footprint;->mPicFileName:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_1

    .line 826
    :cond_0
    iget-object v1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$6;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->mFootprint:Lcom/htc/android/footprints/vo/Footprint;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$100(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Lcom/htc/android/footprints/vo/Footprint;

    move-result-object v1

    invoke-static {v1}, Lcom/htc/android/footprints/utils/FootprintUtils;->setLocationToPicture(Lcom/htc/android/footprints/vo/Footprint;)V
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0

    .line 830
    :cond_1
    :goto_0
    return-void

    .line 827
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 828
    .local v0, e:Ljava/lang/InterruptedException;
    invoke-virtual {v0}, Ljava/lang/InterruptedException;->printStackTrace()V

    goto :goto_0
.end method
